package his.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
@TableName("voucher")
public class Voucher {
    @TableId(value = "ID" ,type = IdType.AUTO)
    private int ID;
    @TableField(value = "VoucherNum")
    private String VoucherNum;
    @TableField(value = "Money")
    private BigDecimal Money;
    @TableField(value = "CreationTime")
    private Date CreationTime;
    @TableField(value = "UserID")
    private int UserID;
    @TableField(value = "RegistID")
    private int RegistID;
    @TableField(value = "itemID")
    private  int itemID;
}
